package com.example.mapper;

import com.example.pojo.Book;
import com.example.pojo.Guest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GuestMapper {
    Guest CheckGuestLogin(String name);
    int InsertGuest(Guest guest);
    Book FindBookByID(Integer ID);
    List<Book> FindBookByStr(String searchStr);
    List<Book> FindAllBook();
    int UpdateBook(Book book);
}
